<div class="al-modal-view">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">
      <span aria-hidden="true" class="glyphicon glyphicon-remove"></span>
      <span class="sr-only">Close</span>
    </button>
    <h4 class="modal-title ok-color">{{modalTitle}}</h4>
  </div>
  <div class="modal-body">
    <ng-form name="modalForm" class="form-horizontal form-validation" role="form">
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">姓名</label>
        <div class="col-sm-3">
          <div class="form-control info-text">{{data.customerName}}</div>
        </div>
        <label class="col-sm-2 control-label">手机号</label>
        <div class="col-sm-3">
          <div class="form-control info-text">{{data.customerPhone}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">公寓</label>
        <div class="col-sm-3">
          <div class="form-control info-text">{{data.apartmentName}}</div>
        </div>
        <label class="col-sm-2 control-label">房间号</label>
        <div class="col-sm-3">
          <div class="form-control info-text">{{data.houseNo}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">退租方式</label>
        <div class="col-sm-3">
          <div class="form-control info-text">{{data.typeName}}</div>
        </div>
        <label class="col-sm-2 control-label">申请时间</label>
        <div class="col-sm-3">
          <div class="form-control info-text">{{data.createTime|dateTransfer:'YYYY-MM-DD'}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">开户户名</label>
        <div class="col-sm-8">
          <div class="form-control info-text">{{data.bankUser}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">开户行</label>
        <div class="col-sm-8">
          <div class="form-control info-text">{{data.bankName}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">开户账号</label>
        <div class="col-sm-8">
          <div class="form-control info-text">{{data.bankAccount}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">应退总额</label>
        <div class="col-sm-3">
          <div class="form-control info-text">{{data.money}}</div>
        </div>
        <label class="col-sm-2 control-label">是否通过</label>
        <div class="col-sm-3">
          <nobr>
            <label class="ui-radio" ng-repeat="option in checkStatusList">
              <input name="checkStatus" ng-value="option.value" ng-disabled="type=='view'"
                     type="radio" ng-model="check.checkStatus">
              <span>{{option.name}}</span>
            </label>
          </nobr>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">明细</label>
        <div class="col-sm-8">
          <div class="form-control info-text">租金：{{data.rental}}</div>
          <div class="form-control info-text">押金：{{data.deposit}}</div>
          <div class="form-control info-text">水费：{{data.waterMoney}}</div>
          <div class="form-control info-text">电费：{{data.powerMoney}}</div>
          <div class="form-control info-text">物业费：{{data.manageMoney}}</div>
          <div class="form-control info-text">其他：{{data.consumtion}}</div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 col-sm-offset-1 control-label">拒绝原因</label>
        <div class="col-sm-8">
          <textarea class="form-control" ng-readonly="type=='view'"
                    cols="5" ng-model="check.checkResult">
          </textarea>
        </div>
      </div>

    </ng-form>
  </div>
  <div class="modal-footer">
    <button class="btn btn-warning no-border" type="button" ng-click="cancel()">取消</button>
    <button class="btn btn-primary no-border" type="button" ng-click="confirm()"
            ng-disabled="modalForm.$invalid">确定
    </button>
  </div>
</div>